package com.egoonet.dao;

import com.egoonet.domain.PostUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 *
 * Created by wchi on 2017/4/21.
 */
public interface PostUserRepository extends JpaRepository<PostUser, Long>, JpaSpecificationExecutor<PostUser> {
   List<PostUser> findByUserName(String userName);
}
